/*
We check to be sure the value is not null to prevent
executing an SQL query that would have no effect.
*/
if(request.ID == null)
redirect ("modify.htm");
cursor = database.cursor("select * from customer where customer.ID = " + request.ID);
cursor.next();
Modify a customer
Note: All fields are required for the customer to be accepted.
cursor.close();